ServerMediaPath Registry entry
Specify the location for multimedia files on the server.
Multimedia files are stored on the
Note:
The location of the
The location of the media files is specified by the
Note:
If this entry is not set, ServerMediaPath defaults to the directory location set by the ServerPath Registry entry, with the addition of a multimedia directory. For example if ServerPath is set to /home/
Once the location of the media repository has been determined
For example, if the multimedia record has an IRN of 234, a path of 0/234 is generated; an IRN of 10 generates 0/010 and an IRN of 34567 generates 34/567. This generated path is appended to the path specified by ServerMediaPath to form the full path to media files for the given multimedia record.
Thus, if ServerMediaPath has a value of /home/
and a media record with an IRN of 12010 is saved, the following path would be generated:
/home/
All media files for this Multimedia record will be in this directory:
Tip: Since
Usage
This Registry entry is assigned at the system level only:
Key | System |
---|---|
Key 1 | System
|
Key 2 | Paths
|
Key 3 | ServerMediaPath
|
Value | pathway |
System
|
Paths
|
ServerMediaPath
|
pathway |
where:
pathway |
is the directory location for the media resources. Multiple paths can be specified
Multiple pathways can be specified for the ServerMediaPath Registry entry. This only affects where Note: It is not possible to specify multiple pathways for ExampleConsider this entry:
Note: The various pathways are semicolon separated. To locate media files for a multimedia record with IRN 12010,
The directories would be consulted in the order listed. Once the required file is found, the remaining directories are not consulted. Some operations do result in all paths being used. In particular each path is searched for all files for a given multimedia record when the Update and Batch Update commands are run in the Multimedia module. Note: New media is always saved to the first pathway listed in the ServerMediaPath Registry entry. |
Example
This entry specifies the Multimedia resource location:
Key | Setting |
---|---|
Key 1 | System
|
Key 2 | Paths
|
Key 3 | ServerMediaPath
|
Value | /home/
|